using System;
using System.Collections.Generic;

namespace Managistics.Model
{
    [Serializable()]
    public class Good : Entity<string>
    {
        public Good() { }
        private ItemType _itemType;
        private Unit _unitItem;
        private string _productCode;
        private string _productName;
        private string _orderCode;
        private string _supplierid;
        private string _name;
        private string _itemName2;
        private string _warrantyPeriod;
        private string _descriptionItem;
        private string _weightItem;
        private string _sizeItem;
        private short? _vatItem;
        private string _noteItem;
        private float? _sellPriceNotIncludeVat;
        private int? _quantityInCarton;
        private float? _minQtyOfStock;
        private string _colour;
        private float _inStock;
        private float _buyPriceNotIncludeVat;
        private int? _convertunit;
        private string _paritycode;

        public virtual string Code
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }
        public virtual ItemType ItemType
        {
            get
            {
                return this._itemType;
            }
            set
            {
                this._itemType = value;
            }
        }
        public virtual Unit UnitItem
        {
            get
            {
                return this._unitItem;
            }
            set
            {
                this._unitItem = value;
            }
        }
        public virtual string ProductCode
        {
            get
            {
                return this._productCode;
            }
            set
            {
                this._productCode = value;
            }
        }
        public virtual string ProductName
        {
            get
            {
                return this._productName;
            }
            set
            {
                this._productName = value;
            }
        }
        public virtual string OrderCode
        {
            get
            {
                return this._orderCode;
            }
            set
            {
                this._orderCode = value;
            }
        }
        public virtual string Supplierid
        {
            get
            {
                return this._supplierid;
            }
            set
            {
                this._supplierid = value;
            }
        }
        public virtual string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }
        public virtual string ItemName2
        {
            get
            {
                return this._itemName2;
            }
            set
            {
                this._itemName2 = value;
            }
        }
        public virtual string WarrantyPeriod
        {
            get
            {
                return this._warrantyPeriod;
            }
            set
            {
                this._warrantyPeriod = value;
            }
        }
        public virtual string DescriptionItem
        {
            get
            {
                return this._descriptionItem;
            }
            set
            {
                this._descriptionItem = value;
            }
        }
        public virtual string WeightItem
        {
            get
            {
                return this._weightItem;
            }
            set
            {
                this._weightItem = value;
            }
        }
        public virtual string SizeItem
        {
            get
            {
                return this._sizeItem;
            }
            set
            {
                this._sizeItem = value;
            }
        }
        public virtual short? VatItem
        {
            get
            {
                return this._vatItem;
            }
            set
            {
                this._vatItem = value;
            }
        }
        public virtual string NoteItem
        {
            get
            {
                return this._noteItem;
            }
            set
            {
                this._noteItem = value;
            }
        }
        public virtual float? SellPriceNotIncludeVat
        {
            get
            {
                return this._sellPriceNotIncludeVat;
            }
            set
            {
                this._sellPriceNotIncludeVat = value;
            }
        }
        public virtual int? QuantityInCarton
        {
            get
            {
                return this._quantityInCarton;
            }
            set
            {
                this._quantityInCarton = value;
            }
        }
        public virtual float? MinQtyOfStock
        {
            get
            {
                return this._minQtyOfStock;
            }
            set
            {
                this._minQtyOfStock = value;
            }
        }
        public virtual string Colour
        {
            get
            {
                return this._colour;
            }
            set
            {
                this._colour = value;
            }
        }
        public virtual float InStock
        {
            get
            {
                return this._inStock;
            }
            set
            {
                this._inStock = value;
            }
        }
        public virtual float BuyPriceNotIncludeVat
        {
            get
            {
                return this._buyPriceNotIncludeVat;
            }
            set
            {
                this._buyPriceNotIncludeVat = value;
            }
        }
        public virtual int? Convertunit
        {
            get
            {
                return this._convertunit;
            }
            set
            {
                this._convertunit = value;
            }
        }
        public virtual string Paritycode
        {
            get
            {
                return this._paritycode;
            }
            set
            {
                this._paritycode = value;
            }
        }

    }

}
